<?php
/**
 * StudentKinfolk form
 *
 * @version $Id: StudentKinfolk.php 73 2010-04-25 00:30:44Z yingkuang.chen@gmail.com $
 * @license New BSD License
 * @uses Zend_Form
 * @package student
 * @subpackage Form
 */
class Student_Form_StudentKinfolk extends Sfs_Form
{

    /**
     * initialization routine
     *
     * @return void
     */
    public function init()
    {
        $this->setMethod('post');
        $this->addElement('text', 'sn', array(
        	'label'      => 'sn',
        	'filters'    => array('StringTrim'),
        //	'validators' => array()
        	)
        );
        $this->addElement('text', 'student_sn', array(
        	'label'      => 'student_sn',
        	'filters'    => array('StringTrim'),
        //	'validators' => array()
        	)
        );
        $this->addElement('text', 'name', array(
        	'label'      => 'name',
        	'required'   => true,
        	'filters'    => array('StringTrim','StripTags'),
        //	'validators' => array()
        	)
        );
        $this->addElement('text', 'calling', array(
        	'label'      => 'calling',
        	'required'   => true,
        	'filters'    => array('StringTrim','StripTags'),
        //	'validators' => array()
        	)
        );
        $this->addElement('text', 'phone_office', array(
        	'label'      => 'phone_office',
        	'filters'    => array('StringTrim','StripTags'),
        //	'validators' => array()
        	)
        );
        $this->addElement('text', 'phone_mobile', array(
        	'label'      => 'phone_mobile',
        	'filters'    => array('StringTrim','StripTags'),
        //	'validators' => array()
        	)
        );
        $this->addElement('text', 'email', array(
        	'label'      => 'email',
        	'filters'    => array('StringTrim','StripTags'),
        //	'validators' => array()
        	)
        );
        $this->addElement('text', 'website', array(
        	'label'      => 'website',
        	'filters'    => array('StringTrim','StripTags'),
        //	'validators' => array()
        	)
        );
    }


}
